﻿@model SportMeetingPlanner.ViewModels.LogOnModel
@{
    ViewBag.Title = "LogOn";
}
@using (Html.BeginForm("LogOn", "Account"))
{
    <br />
    <div class="section" style="width: 360px; margin: 0px auto;">
        <table class="listTable" cellspacing="0">
            <tr>
                <td class="leftColumn">
                    <div class="editor-label">
                        @Html.LabelFor(m => m.UserName)
                    </div>
                </td>
                <td class="rightColumn">
                    <div class="editor-field">
                        @Html.EditorFor(m => m.UserName)
                    </div>
                </td>
            </tr>
            <tr>
                <td class="leftColumn">
                    <div class="editor-label">
                        @Html.LabelFor(m => m.Password)
                    </div>
                </td>
                <td class="rightColumn">
                    <div class="editor-field">
                        @Html.EditorFor(m => m.Password)
                    </div>
                </td>
            </tr>
            <tr class="link">
                <td colspan="2">
                    <input type="submit" value="Log On" />
                </td>
            </tr>
            <tr class="link">
                <td colspan="2">
                    @Html.ActionLink("Register", "Create", "UserManager")
                </td>
            </tr>
            <tr class="link">
                <td colspan="2">
                    @Html.ActionLink("Forgot password?", "ForgotPassword", "Account")
                </td>
            </tr>
        </table>
    </div>
}
